/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.busControl;

import org.gstreamer.Bus;
import org.gstreamer.Gst;
import org.gstreamer.GstObject;

/**
 *
 * @author triki
 */
public class BusError implements Bus.ERROR {

    public void errorMessage(GstObject arg0, int arg1, String message) {
        System.out.println("Error occurred: " + message);
        Gst.quit();
    }

}
